﻿using NineSeas.Models;
using Orchard;
using Orchard.ContentManagement;
namespace NineSeas.Services
{
    public interface ISocialStatisticService : IDependency
    {
        void UpdateViews<T>(T part) where T : ContentPart, IViewCountable;
        void UpdateLikes<T>(T part, bool like) where T : ContentPart, ILikeable;
        bool IsLiked<T>(T part) where T: ContentPart, ILikeable;
    }
}
